<?php
namespace Admin\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function latoutAction(){
		$value = session('admin');
		if(empty($value)){
			$this->success('用户没有登录，请先登录！', U('Admin/login'));
			die();
			}
		$this->display('latout:index');
    }
}